package com.xal.service;

import com.xal.pojo.entiey.Student;
import com.xal.pojo.vo.StudnetVo;
import com.xal.util.Result;

import java.util.List;

/**
 * @program: Swagger2
 * @author: 邢奥林
 * @create: 2023-04-12 19:13
 **/
public interface StudentService {
    //分页连表查询
public Result findByPage(Integer current, Integer pageSize, StudnetVo studnetVo);
    //查询全部
    public Result findById(Integer sid);

    public Result findAll();

    //增
    Result insert(Student student);

    //改
    Result update(Student student);
//删
    Result delete(Integer sid);

       Result  Bachdelete(List<Student> students);
}
